package com.harmontronics.hanma.paas.paas.dto.input;

import io.swagger.annotations.ApiModelProperty;

    import java.io.Serializable;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * 租户-管理用户表
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-03-18 14:13:32
 */
@Data
public class HmTenantUserUpdateInput {

            /**
             * 租户用户ID
             */
            @ApiModelProperty(value = "租户用户ID")
            @NotNull(message = "hm.paas.request_param_error")
            private Long id;
                        /**
             * 租户ID
             */
            @ApiModelProperty(value = "租户ID")
            private Long tenantId;
        
                        /**
             * 用户名
             */
            @ApiModelProperty(value = "用户名")
            @Size(max = 64 ,message="hm.paas.request_param_error")
            private String userName;
        
                        /**
             * 密码
             */
            @ApiModelProperty(value = "密码")
            @Size(max = 32 ,message="hm.paas.request_param_error")
            private String pwd;
        
                        /**
             * $column.comments
             */
            @ApiModelProperty(value = "$column.comments")
            private String salt;
        
                        /**
             * 是否管理员,0: 否 1: 是
             */
//            @ApiModelProperty(value = "是否管理员,0: 否 1: 是")
//            private Integer isAdmin;
        
                        /**
             * 状态，0:正常 1：禁用
             */
            @ApiModelProperty(value = "状态，0:正常 1：禁用")
            private Integer status;

        
                        /**
             * 是否删除,0: 未删除 1: 删除
             */
            @ApiModelProperty(value = "是否删除,0: 未删除 1: 删除")
            private Integer deleted;
        

        
    
}
